#!/usr/bin/env python
# -*- coding: utf-8 -*-
# @Time : 2021/5/14 16:06
# @Author : 吴敬超
# explain:

def write_raw_index(filename):

    with open(filename, 'r+', encoding='utf-8') as f:
        content = f.read()
        f.seek(0, 0)
        #mid, text, source, uid
        text = 'mid' + ',' + 'text' + ',' + 'source' + ',' + 'uid'
        f.write(text + '\n' + content)
